#ifndef _SPRITEINFOPANEL_
#define _SPRITEINFOPANEL_

#include "Utilities/StringHelper.hpp"
#include "SFML/Graphics.hpp"
#include "Graphics/Graphics.hpp"

/** 
* Panel that displays information about the currently selected sprite.
* The currently selected sprite is the sprite that is being used to draw on the map.
*/
class SpriteInfoPanel:public Panel{

    /** The sprite name. */
    Label* spriteName;

    /** The sprite's sheet name. */
    Label* spriteSheetName;

    /** The sprite type. */
    Label* spriteType;

    /** The sprite width in pixels. */
    Label* spriteWidth;

    /** The sprite height in pixels. */
    Label* spriteHeight;

    Label* title;

public:
    /** The selected sprite. */
    BaseSprite* selectedSprite;

    /** The selected sprite as a button. */
    IconButton* spriteButton;

    SpriteInfoPanel();
    void setSelectedSprite(BaseSprite* selected);
    static void spriteSelectorClick(InterfaceElement* sender);
};

#endif